package com.rz.htk.print.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@TableName("print_template")
@Getter
@Setter
public class PrintTemplate {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String code;
    private String name;
    private String customStyle;
    private Integer crteMngId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime crteTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime upteTime;
    private Integer printIndex;
    private Double width;
    private Double height;
    private String backImg;
}
